/*!
 * Copyright 2019 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

@import "../styles/colors";

.tertiary-category {
  &-icon {
    height: 64px;
    width: 64px;
  }

  &-name {
    padding: 6px 0;
    font-size: 14px;
    color: $content-color;
  }
}

.secondary-category {

  &-header {
    padding: 16px 2px;
    font-size: 16px;
  }

  &-body {
    border-radius: 10px;
    background: #fff;
    padding: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: 10px;
    grid-row-gap: 10px;
  }

}


.categories {
  height: 100%;
  width: 100%;

  .categories-content {
    height: calc(100% - 46px);
    display: grid;
    grid-template: 100% / 80px auto;
  }

  .top-categories {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background: #fff;
    width: 100%;
    overflow-y: scroll;
  }

  .top-category {
    padding: 14px 0;
    width: 100%;
    text-align: center;
    color: #848484;
  }

  .top-category-selected {
    background: #f0f0f0;
    color: #2d2d2d;
    font-weight: bold;
  }

  .top-category-content {
    background: #f0f0f0;
    padding: 10px;
    z-index: 10;
    height: 100%;
    overflow: auto;
  }
}
